<div class="adminTableWrapper">
	<table class="adminTable">
		<thead>
			<tr>
				<td><input class="" type="checkbox" name="checkall" value=""/></td>
				<td>ID</td>
				<td><?php echo __text('Title'); ?></td>
				<td><?php echo __text('Region'); ?></td>
				<td><?php echo __text('Path'); ?></td>
				<td><?php echo __text('Active'); ?></td>
				<td><?php echo __text('Locked'); ?></td>
				<td><?php echo __text('Updated'); ?></td>
				<td><?php echo __text('Operations'); ?></td>
			</tr>
		</thead>
		<tbody>
			<?php foreach($items as $item): ?>
			<tr>
				<td><input class="" type="checkbox" name="checkbox[]" value="<?php echo $item -> getId(); ?>"/></td>
				<td><?php echo $item -> getId(); ?></td>
				<td><?php echo $item -> getTitle(); ?></td>
				<td><?php echo $item -> getRegion(); ?></td>
				<td><?php echo $item -> getPath(); ?></td>
				<td><?php echo $item -> isLocked() ? __text('Yes') : __text('No'); ?></td>
				<td><?php echo $item -> isActive() ? __text('Yes') : __text('No'); ?></td>
				<td><?php echo __date($item -> updated_at); ?></td>
				<td>
					<a href="<?php echo Agilet::getUrl('admin/system/appearance/section/block/edit', array('id' => $item -> getId())); ?>"><?php echo __text('Edit'); ?></a> | 
					<a href="<?php echo Agilet::getUrl('admin/system/appearance/section/block/delete', array('id' => $item -> getId())); ?>"><?php echo __text('Delete'); ?></a>
				</td>
			</tr>
			<?php endforeach; ?>
		</tbody>
	</table>
</div>
